// <!-- auto generated navs start -->
const autoGenHeaderNavs = [];
const autoGenAsideNavs = [
];

// <!-- auto generated navs end -->

const customHeaderNavs = [
  {
    text: '首页',
    to: '/',
    icon: 'home',
  }
];

const customAsideNavs = [{
    text: '首页设置',
    icon: 'home',
    to : '/index'
  }, {
    text: '物料设置',
    icon: 'customize',
    to : '/pay',
    children: [
      {
        text : '物料基本信息',
        to : '/pay/info',
      }, {
        text : '物料详情设置',
        to : '/pay/detail',
      }
    ]
  }, {
    text: '其他',
    to: '/setting',
    icon: 'setting',
    children: [
      {
        text : '帮助',
        to : '/setting/help',
      }, {
        text : '关于',
        to : '/setting/about',
      },{
        text : '版权',
        to : '/setting/license',
      }
    ]
  }
];

function transform(navs) {
  // custom logical
  return [...navs];
}

export const headerNavs = transform([
  ...autoGenHeaderNavs,
  ...customHeaderNavs,
]);

export const asideNavs = transform([...autoGenAsideNavs, ...customAsideNavs]);
